/*!
 *
 * Copyright 2015 
 * 
 * rewrited by Zhangdi(zhangdiwaa@163.com) and Hanyuping(yuping0713@126.com)
 */

.btn-user {
    height: 30px;
    padding: 4px 12px;
}

.btn-rl {
    height: 38px;
    padding: 4px 12px;
}

.a-project:hover, .a-project:link {
    text-decoration: none;
}

.a-sample:hover, .a-sample:link, .a-sample a {
    text-decoration: none;
    color: #333333;
}

.pe-level {
    color: #35aa47;
    text-align: center;
}

.remove-sample a {
    color: #BAB7AD;
}

.remove-sample a:hover {
    color: #5B5959;
}

.remove-sample h1 {
    margin: 0 5px;
}

/*/
/* gridster 
/*/

.gridster ul {
    background-color: #EFEFEF;
    list-style-type: none;
}

.gridster li {
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    line-height: 100%;
}

.gridster li.full {
    background-color: #2ECC71;
}

.gridster {
    margin: 0 auto;
    opacity: .8;
    -webkit-transition: opacity .6s;
    -moz-transition: opacity .6s;
    -o-transition: opacity .6s;
    -ms-transition: opacity .6s;
    transition: opacity .6s;
}

.gridster .gs-w {
    background: #DDD;
    cursor: pointer;
}

.gridster .player {
    background: #BBB;
}

.gridster .preview-holder {
    border: none !important;
    background: red !important;
}

/*/
/* gridster 样本库样式
/*/
.lib_gridster1 ul, .lib_gridster2 ul, .lib_gridster3 ul {
    background-color: #EFEFEF;
    list-style-type: none;
}

.lib_gridster1 li, .lib_gridster2 li, .lib_gridster3 li {
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    line-height: 100%;
}

.lib_gridster1 li.full, .lib_gridster2 li.full, .lib_gridster3 li.full {
    background-color: #2ECC71;
}

.lib_gridster1, .lib_gridster2, .lib_gridster3 {
    margin: 0 auto;
    opacity: .8;
}

.lib_gridster1 > *, .lib_gridster2 > *, .lib_gridster3 > * {
    margin: 0 auto;
}

.lib_gridster1 .gs-w, .lib_gridster2 .gs-w, .lib_gridster3 .gs-w {
    z-index: 2;
    position: absolute;
    background: #DDD;
}

.h-file-box {
    position: relative;
    width: 600px;
}

.h-txt {
    height: 22px;
    border: 1px solid #cdcdcd;
    width: 180px;
}

.h-btn {
    background-color: #FFF;
    border: 1px solid #CDCDCD;
    height: 24px;
    width: 70px;
}

.h-file {
    position: absolute;
    top: 0;
    right: 80px;
    height: 24px;
    filter: alpha(opacity:0);
    opacity: 0;
    width: 260px
}

/*一些对表单的修改*/
.left.control-label{
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 7px;
}
.modal-footer {
    margin-top: 0px;
}
.value-block .value-self {
    font-size: 18px;
}
/*对表格样式的修改*/
.table-striped > tbody > tr:nth-child(odd) > td.alert-danger, .table-striped > tbody > tr:nth-child(odd) > th.alert-danger{
    background-color: #f7d9d9;
}
.table-striped > tbody > tr:nth-child(odd) > td.alert-warning, .table-striped > tbody > tr:nth-child(odd) > th.alert-warning{
    background-color: #ede6c2;
}
.table-striped > tbody > tr:nth-child(odd) > td.alert-success, .table-striped > tbody > tr:nth-child(odd) > th.alert-success{
    background-color: #dff0d8;
}
.table-striped > tbody > tr:nth-child(odd) > td.alert-animated, .table-striped > tbody > tr:nth-child(odd) > th.alert-animated{
    background-color: #f7d9d9;
}

/*bootstrap-wysiwyg 文本编辑器样式*/
.btn-toolbar {
    margin-bottom: 5px;
}

.editor {
    max-height: 200px;
    background-color: white;
    border-collapse: separate;
    border: 1px solid rgb(204, 204, 204);
    padding: 4px;
    box-sizing: content-box;
    -webkit-box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
    box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    overflow: auto;
    outline: none;
}

.subject {
    height: 60px;
}
.describe {
    height:140px;
}
.subject.small {
    height:40px;
}
.describe.small {
    height:60px;
}
.voiceBtn {
    width: 20px;
    color: transparent;
    background-color: transparent;
    transform: scale(2.0, 2.0);
    -webkit-transform: scale(2.0, 2.0);
    -moz-transform: scale(2.0, 2.0);
    border: transparent;
    cursor: pointer;
    box-shadow: none;
    -webkit-box-shadow: none;
}

div[data-role="editor-toolbar"] {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.dropdown-menu a {
    cursor: pointer;
}

.magic-overlay {
    cursor: pointer;
    opacity: 0;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 37px;
    height: 30px;
}

